Skip to content

Added Manager, Contributor targeted logic and collapsible filters #3655

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

functionzz
Copy link
Collaborator

@functionzz functionzz commented May 27, 2025

This commit resolves #3453 and #3431. One should now be able to singly target managers, translators and contributors of a specific project, and also singly target likewise of a specific locale. Furthermore, it adds collapsible filters to the messaging center, removes the minimum project/locale form requirements, changes the query logic and alters the form both in visuals and core logic.

@codecov-commenter
Copy link

codecov-commenter commented May 27, 2025

Codecov Report

Attention: Patch coverage is 40.00000% with 9 lines in your changes missing coverage. Please review.

Project coverage is 78.45%. Comparing base (537a7ff) to head (c796677).

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mathjazz
Copy link
Collaborator

This commit addresses #3453

Please make sure you use the right keyword to link to the corresponding issue. :)

Looks like the Locales and Projects sections always appear on the review page: they shouldn't if Locales / Projects Filters are not used.

Also, in the event that no projects/locales are selected (but the filter is used / expanded), the number of recipients should be zero.

At the very end, I'd like to commit minor CSS changes. I think we'll need to use checkboxes instead of arrows to make it clearer when the filter is used. Then we'll also need to update the docs.

@mathjazz
Copy link
Collaborator

mathjazz commented May 29, 2025

Please also reference #3431 in the first comment if the intention is to fix that issue, too.

Relatedly, if I don't enable filtering by locale and project, and target all 3 user roles, I'd expect all users to be recipients of the message. But the count for me locally reads 6,766, while there are 23098 user accounts.

If I select all locales and all projects, the recipient count is 6,069.

@functionzz
Copy link
Collaborator Author

Hmm that is very strange

This commit adds collapsible filters to the messaging center, removes the minimum project/locale form requirements, changes the query logic and alters the form both in visuals and core logic.
This commit adds checkboxes instead of a dropdown for filters. It changes many styles. It edits the logic for filtering recipients and adds multiple form fields.
@functionzz functionzz force-pushed the feature/messaging_targeting_managers_translators branch from e16e912 to aa989df Compare May 31, 2025 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Messaging center: it should be possible to target managers and translators for a project
4 participants